package com.gz.pojo;

import java.io.Serializable;

public class Dog extends Animal implements Serializable{

	

	private Long id;

	private String name;
	
	private String tail;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getTail() {
		return tail;
	}

	public void setTail(String tail) {
		this.tail = tail;
	}

	@Override
	public String toString() {
		return "Dog [name=" + name + ", tail=" + tail + "]";
	}

	
	
	

	

	

}
